import request from '@/router/axios';

export const getRateList = () => {
  return request({
    url: '/api/blade-public/dictCurrency/query',
    method: 'get'
  })
}

export const editRate = (id,rateValue) => {
  return request({
    url: '/api/blade-public/dictCurrency/edit',
    method: 'post',
    data:{
      id,
      rateValue
    }
  })
}

export const getOperationList = (current,size) => {
  return request({
    url: '/api/blade-public/dictCurrencyLog/list',
    method: 'post',
    data:{
      current,
      size
    }
  })
}
